$warn: orange;
$danger: red;
$info: blue;
$normal: green;

.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0px 16px;
  width: 343px;
  height: 212px;
  background-color: #4c5baf;

  &-info {
    margin-top: 51px;
    display: flex;
    flex-direction: column;
    color: #fff;

    .title {
      font-size: 20px;
      font-weight: bold;
    }

    .role {
      font-size: 12px;
    }
  }

  &-weather {
    margin-top: 51px;
    display: flex;
    flex-direction: column;
    color: #fff;

    .temperature {
      font-size: 16px;
      font-weight: bold;
    }

    .city {
      font-size: 12px;
    }
  }

  &-nav {
    position: absolute;
    bottom: -22px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 104px;
    width: 343px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0px 8px 10px 0px rgba(183, 183, 183, 0.25);

    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #000;

      .nav-icon-container {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #7f66f7;
        border-radius: 6px;
        width: 40px;
        height: 40px;
        margin-bottom: 5px;

        .nav-icon {
          width: 24px;
          height: 24px;
        }
      }
      .nav-text {
        font-size: 16px;
      }
    }
  }
}

.notice-list {
  display: flex;
  align-items: center;
  height: 130px;
  background-color: #fff;

  &-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 67px;
    border-right: 2px solid #f1f1f1;
    color: #000;

    &-count {
      text-align: center;
      font-size: 32px;
      font-weight: 600;
    }

    &-text {
      font-size: 16px;
      font-weight: 500;
    }
  }
}

.todo-list {
  margin-top: 14px;
  background-color: #fff;

  &-header {
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 19px;

    &-title {
      padding-left: 6px;
      border-left: 2px solid #556fe4;
      color: #000;
      text-align: center;
      font-size: 18px;
      font-weight: 500;
    }

    &-more {
      color: #646464;
      text-align: center;
      font-size: 12px;
      font-weight: 400;
    }
  }

  &-container {
    $item-height: 61px;
    padding: 0 16px 16px 16px;
    height: $item-height * 5;
    overflow-y: auto;
    .todo-list-item {
      display: flex;
      align-items: center;
      height: 61px;
      border-top: 1px solid #f5f5f5;
      &:last-child {
        border-bottom: 1px solid #f5f5f5;
      }

      &-icon {
        box-sizing: border-box;
        display: block;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        text-align: center;
        border: 3px solid black;
        font-weight: bold;
        font-size: 18px;

        &.warn {
          color: $warn;
          border-color: $warn;
        }
        &.danger {
          color: $danger;
          border-color: $danger;
        }
        &.info {
          color: $info;
          border-color: $info;
        }
        &.normal {
          color: $normal;
          border-color: $normal;
        }
      }

      &-content {
        display: flex;
        flex-direction: column;
        margin-left: 9px;

        &-title {
          color: #060606;
          text-align: center;
          font-size: 16px;
          font-weight: 500;
        }

        &-time {
          color: #646464;
          font-size: 10px;
          font-weight: 400;
        }
      }

      &-icon-more {
        flex: 0 0 auto;
        margin-left: auto;
        width: 10px;
        height: 10px;
        border: 4px solid #595959;
        border-left: none;
        border-bottom: none;
        border-radius: 2px;
        transform: rotate(45deg);
      }
    }
  }
}
